<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="common/head :: head"></head>
<body>

<div th:replace="common/header :: header"></div>


<div th:replace="common/column :: column"></div>

<div class="layui-container">
  <div class="layui-row layui-col-space15">
    <div class="layui-col-md8">

      <div class="fly-panel" style="margin-bottom: 0;">

        <div  th:replace="common/filter :: filter"></div>

        <ul th:replace="common/center :: list"></ul>

        <div th:if="${#lists.isEmpty(jieList)}" class="fly-none">没有相关数据</div>

        <div th:if="${!#lists.isEmpty(jieList)}" style="text-align: center">
          <div class="laypage-main">
            <a th:href="@{'/q/'+${nowColumnType == null?'all':nowColumnType} + '/' + ${technologyType == null?'all':technologyType} +'/' + ${filterType?.name() == null?'all': filterType?.name()} +'/page/' + ${pageInfo.getPrePage()}}" th:if="${pageInfo.hasPreviousPage}" class="laypage-prev">上一页</a>
            <a th:href="@{'/q/'+${nowColumnType == null?'all':nowColumnType} + '/' + ${technologyType == null?'all':technologyType} +'/' + ${filterType?.name() == null?'all': filterType?.name()} +'/page/1' }" th:if="${pageInfo.pageNum > 1}" class="laypage-prev">首页</a>
            <span th:if="${pageInfo.pageNum > 3}">…</span>
            <th:block th:each="num : ${pageInfo.navigatepageNums}">
              <span th:if="${num == pageInfo.pageNum}"  th:text="${pageInfo.pageNum}" class="laypage-curr"></span>
              <a th:href="@{'/q/'+${nowColumnType == null?'all':nowColumnType} + '/' + ${technologyType == null?'all':technologyType} +'/' + ${filterType?.name() == null?'all': filterType?.name()} +'/page/'+ ${num}}" th:if="${num != pageInfo.pageNum}" th:text="${num}"></a>
            </th:block>
            <span th:if="${(pageInfo.pageNum + 2) < pageInfo.pages}">…</span>
            <a th:href="@{'/q/'+${nowColumnType == null?'all':nowColumnType} + '/' + ${technologyType == null?'all':technologyType} +'/' + ${filterType?.name() == null?'all': filterType?.name()} +'/page/' + ${pageInfo.pages}}" th:if="${pageInfo.hasNextPage}" class="laypage-last" title="尾页">尾页</a>
            <a th:href="@{'/q/'+${nowColumnType == null?'all':nowColumnType} + '/' + ${technologyType == null?'all':technologyType} +'/' + ${filterType?.name() == null?'all': filterType?.name()} +'/page/' + ${pageInfo.nextPage}}" th:if="${pageInfo.hasNextPage}" class="laypage-next">下一页</a>
          </div>
        </div>

      </div>


    </div>
    <div class="layui-col-md4">

      <div th:replace="common/right-block :: sendJie"></div>
        <!-- 技术类型查询条件 -->
      <div th:replace="common/right-block :: technologyType"></div>

      <div th:replace="common/right-block :: hongbao"></div>

    </div>
  </div>
</div>

<div th:replace="common/footer :: footer"></div>
<script th:replace="common/common-js :: js"></script>

<script>
layui.config({
  base: '/res/mods/'
}).extend({
  fly: 'index'
}).use(['fly','jie']);
</script>

</body>
</html>